import { request } from "./request";

export function adminLoginFn(data = {}) {
    return request({
        // method: "POST",
        // url: '/admin.json',
        // data: data
        method: "GET",
        url: "/admin.json",
        params: data
    })
}
export function studentLoginFn(data = {}) {
    return request({
        method: "GET",
        url: '/student.json',
        params: data
    })
}
